export const edgeOptions = () => {
  return {
    highlight: {
      stroke: "#999",
      strokeOpacity: 1,
    },
    lineDark: {
      stroke: "#999",
      strokeOpacity: 0.2,
    },
  };
};
export const nodeOptions = (item) => {
  return {
    active: {
      fill: item.backgroundColor,
      lineWidth: 2,
      stroke: "#5F95FF",
      shadowColor: "#5F95FF",
      shadowBlur: 6,
      strokeOpacity: 0.6,
      cursor: "pointer",
    },
    highlight: {
      opacity: 1,
      stroke: "#fff",
      lineWidth: 2,
      fill: item.backgroundColor,
    },
    selected: {
      fill: item.backgroundColor,
      lineWidth: 4,
      stroke: "#5F95FF",
      shadowColor: "#5F95FF",
      shadowBlur: 6,
      strokeOpacity: 0.8,
      cursor: "pointer",
      isHighLight: true,
    },
  };
};
